# 定义一个函数来执行任务
run_task() {
    local aggregation=$1
    local beta=$2
    local dataset=$3
    local model=$4
    local epochs=$5
    local device=$6
    local alpha=$7

    echo "Running task: $aggregation, $beta, $dataset, $model"
    python main.py --aggregation=$aggregation \
    --beta=$beta \
    --dataset=$dataset \
    --model=$model \
    --epochs=$epochs \
    --device=$device \
    --alpha=$alpha
}

# 执行任务列表
#run_task "fedgpma" 0.5 "svhn" "svhn_cnn_adapter" 50 'cuda:1' 0.00
run_task "fedgpma" 0.3 "svhn" "svhn_cnn_adapter" 50 'cuda:0' 0.00
#run_task "fedgpma" 0.1 "svhn" "svhn_cnn_adapter" 50 'cuda:1' 0.00


